From: Florian Müllner Date: Thu, 24 Apr 2014 10:11:36 +0000 (+0200) Subject: windowManager: Remove (un)blockAnimations() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2454 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2b365627ede5cf0ae9e786f9d4b1446fee42991a;p=gnome-shell.git windowManager: Remove (un)blockAnimations() They are no longer used, kill them. --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 401db7574..623619db6 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -464,8 +464,6 @@ const WindowManager = new Lang.Class({ this._dimmedWindows = []; - this._animationBlockCount = 0; - this._allowedKeybindings = {}; this._switchData = null; @@ -708,16 +706,8 @@ const WindowManager = new Lang.Class({ this._allowedKeybindings[name] = modes; }, - blockAnimations: function() { - this._animationBlockCount++; - }, - - unblockAnimations: function() { - this._animationBlockCount = Math.max(0, this._animationBlockCount - 1); - }, - _shouldAnimate: function() { - return !(Main.overview.visible || this._animationBlockCount > 0); + return !Main.overview.visible; }, _shouldAnimateActor: function(actor) {